#!/bin/bash
cat <<END
1.[install lamp]
2.[install lnmp]
3.[exit]
END

read -p "pls input the num you want:" a
if [ $a -eq 1 ];then
   echo "start installing lamp"
   sh /server/scripts/lamp.sh
   exit 0
elif [ $a -eq 2 ];then
   echo "start installing lnmp"
   sh /server/scripts/lnmp.sh
   exit 0
elif [ $a -eq 3 ];then
   exit 0
else 
   echo "INput errot"
   exit 0
fi